﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Controllers;

namespace NCS.IConnect.Core.WebApi.Description
{
    /// <summary>
    /// Export all <see cref="UriParameterDescriptor"/>s.
    /// </summary>
    public interface IUriParameterExporter
    {
        /// <summary>
        /// Gets the parameters.
        /// </summary>
        /// <param name="actionDescriptor">The action descriptor.</param>
        /// <param name="httpParameterDescriptor">The <see cref="HttpParameterDescriptor" />.</param>
        /// <param name="documentationProvider">The documentation provider.</param>
        /// <returns><see cref="UriParameterDescriptor" />s.</returns>
        IEnumerable<UriParameterDescriptor> GetParameters(ApiActionDescriptor actionDescriptor, HttpParameterDescriptor httpParameterDescriptor, IModelDocumentationProvider documentationProvider);
    }
}
